package com.chen.service;

import com.chen.pojo.User;

import java.util.List;

public interface UserService {
    public int addUser(User user);
    public List<User> queryAll();
    public User queryById(Long id);
    public int updateUser(User user);
    public int deleteUser(Long id);
    public User queryByName(String name);
}
